/*
 * @Files:
 * @Version: 1.0
 * @Author: wanglu
 * @Date: 2020-03-30 12:54:02
 * @LastEditors: wanglu
 * @LastEditTime: 2020-04-10 10:28:35
 */
import request from '@/utils/request'
/**首页 */
var collectionService = {
	/**
	 * @description: 获取我的收藏列表
	 * @param {type}
	 * @return:
	 */
	getMyCollections(param) {
		return request({
			url: '/DoorManagement/collection/getMyCollections',
			method: 'post',
			data: param
		})
	},
	/**
	 * @description: 取消收藏
	 * @param {type}
	 * @return:
	 */
	canceCollection(param) {
		return request({
			url: '/DoorManagement/collection/canceCollection',
			method: 'post',
			params: param,
			headers: { showLoading: false }
		})
	}
}
export { collectionService }
